package pt.record.model;

import model.FavoritableEntity;

/**
 * Created by nuno-rafael-figueiredo on 15-03-2014.
 */
public class Teams extends FavoritableEntity<String, Team> {

    protected Teams() {
        super(Team[].class, Team.class);
    }

    public Team get(String nome) {
        if (!containsKey(nome))
            add(new Team(nome));

        return super.get(nome);
    }

    @Override
    protected void parse() {
    }
}
